package com.landgroup.hradmin.mq.listener;

import javax.jms.JMSException;
import javax.jms.Message;
import javax.jms.Session;

import org.apache.log4j.Logger;
import org.springframework.jms.listener.SessionAwareMessageListener;

public class ReplayMsgListener implements SessionAwareMessageListener {
	public static Logger log = Logger.getLogger(ReplayMsgListener.class);
	@Override
	public void onMessage(Message message, Session session) throws JMSException {
		log.info("### "+message.toString());
	}

}
